package com.crm.sys.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;
import com.crm.user.model.UserInfo;

public class CallLog  extends BaseModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2961220102919275634L;

	private Long cusid;//客户ID
	private String connid;//通话id
	private String caller;//主叫号码
	private String calee;//被叫号码
	private String code;//通话唯一标识
	private String startTime;//开始通话时间
	private String ownerAcc;//所有者帐号
	private String contactId;//录音id
	private Integer type;//类别  呼叫类型1已接来电;2已拨电话;3未接来电4未接去电  
	private Integer time;//时长
	private String filePath;//音频文件路径
	private String fileUrl;//音频文件路径
	
	private UserInfo userInfo;
	
	
	public UserInfo getUserInfo() {
		return userInfo;
	}


	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}


	public String getFileUrl() {
		return fileUrl;
	}


	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}


	public String getStartTime() {
		return startTime;
	}


	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}


	public String getOwnerAcc() {
		return ownerAcc;
	}


	public void setOwnerAcc(String ownerAcc) {
		this.ownerAcc = ownerAcc;
	}


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public Integer getTime() {
		return time;
	}


	public void setTime(Integer time) {
		this.time = time;
	}


	public String getFilePath() {
		return filePath;
	}


	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}


	public Integer getType() {
		return type;
	}


	public void setType(Integer type) {
		this.type = type;
	}


	public Long getCusid() {
		return cusid;
	}


	public void setCusid(Long cusid) {
		this.cusid = cusid;
	}


	public String getConnid() {
		return connid;
	}


	public void setConnid(String connid) {
		this.connid = connid;
	}


	public String getCaller() {
		return caller;
	}


	public void setCaller(String caller) {
		this.caller = caller;
	}


	public String getCalee() {
		return calee;
	}


	public void setCalee(String calee) {
		this.calee = calee;
	}


	public String getContactId() {
		return contactId;
	}


	public void setContactId(String contactId) {
		this.contactId = contactId;
	}


	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
